package com.dingding.order.dto.march;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.dingding.common.core.util.ToolUtil;

/**
 * @ClassName: MarchOrderDTO
 * @Description: 进行中订单数据传输DTO
 * @author chenwei
 * @date 2016年6月3日 上午11:01:02
 * @version 微信租车V2.2
 */
@SuppressWarnings("serial")
public class ResMarchOrderDTO implements Serializable {

	private String userId; // 对方用户ID
	private String nickName; // 对方用户名称（称呼）
	private String userAvatar = ToolUtil.imageAddress("defaultAvatar.jpg"); // 对方用户头像访问地址
	private String userTabloidAvatar = ToolUtil.imageAddress("thumbnail_defaultAvatar.jpg");// 缩略图头像地址
	private String setOutTime; // 出发时间
	private Date outTime; // 出发时间标准格式
	private BigDecimal totalMoney; // 乘车费用(总金额)
	private Double redBag; // 红包
	private String message; // 留言（可为空）
	private Integer number; // 人数（默认1）
	private String startAddress; // 起点
	private Double startLongitude; // 起点经度
	private Double startLatitude; // 起点纬度
	private String endAddress; // 终点
	private Double endLongitude; // 终点经度
	private Double endLatitude; // 终点纬度
	private Integer orderStatus; // 1:待抢单2：待支付3：已支付 4：已完成 5：已取消
	private Integer userType; // 抢单时的用户类型（1：车主2：乘客）
	private String telePhone; // 对方手机号
	@Deprecated
	private String telNo;// 旧接口手机号
	private Integer orderType; // 下单类型 ：1：乘客下单 2：车主下单
	private String placeOrderUserId;// 下单用户Id
	private String grabOrderUserId;// 抢单用户Id
	private Date orderValidateTime;// 订单生效时间(订单创建时间，或订单抢单时间）
	private String vehicleType; // 车辆类型
	private String vehicleModel; // 车辆型号
	private String vehicleColor; // 车辆颜色
	private String vehicleImage; // 车辆图片
	private String licensePlate; // 车辆车牌号
	private Date currentSerTime;// 当前服务器时间
	private Integer sex; // 对方性别 (1:男 2:女)
	private BigDecimal distance;// 订单里程
	private Integer isLongDistance; // 短长途类型 1:普通 2: 长途
	private String ucId;
	private BigDecimal couponMoney;// 优惠金额
	private BigDecimal orderCost;// 订单费用
	private BigDecimal platformCost;// 平台费用
	private BigDecimal userLevel;// 用户级别
	private Integer setOutCondition; // 1：准点出发 2：出发前后十分钟
	private Integer isCarShare; // 1：合乘 2：不合乘
	private String parentOrder;// 父订单Id
	private String subOrder;// 子订单Id
	private String title;// 标题
	private String otherUserId;// 对方用户Id

	public ResMarchOrderDTO() {
		super();
	}

	public ResMarchOrderDTO(String userId, String nickName, String userAvatar, String userTabloidAvatar,
			String setOutTime, Date outTime, BigDecimal totalMoney, Double redBag, String message, Integer number,
			String startAddress, Double startLongitude, Double startLatitude, String endAddress, Double endLongitude,
			Double endLatitude, Integer orderStatus, Integer userType, String telePhone, String telNo,
			Integer orderType, String placeOrderUserId, String grabOrderUserId, Date orderValidateTime,
			String vehicleType, String vehicleModel, String vehicleColor, String vehicleImage, String licensePlate,
			Date currentSerTime, Integer sex, BigDecimal distance, Integer isLongDistance, String ucId,
			BigDecimal couponMoney, BigDecimal orderCost, BigDecimal platformCost, BigDecimal userLevel,
			Integer setOutCondition, Integer isCarShare, String parentOrder, String subOrder, String title,
			String otherUserId) {
		super();
		this.userId = userId;
		this.nickName = nickName;
		this.userAvatar = userAvatar;
		this.userTabloidAvatar = userTabloidAvatar;
		this.setOutTime = setOutTime;
		this.outTime = outTime;
		this.totalMoney = totalMoney;
		this.redBag = redBag;
		this.message = message;
		this.number = number;
		this.startAddress = startAddress;
		this.startLongitude = startLongitude;
		this.startLatitude = startLatitude;
		this.endAddress = endAddress;
		this.endLongitude = endLongitude;
		this.endLatitude = endLatitude;
		this.orderStatus = orderStatus;
		this.userType = userType;
		this.telePhone = telePhone;
		this.telNo = telNo;
		this.orderType = orderType;
		this.placeOrderUserId = placeOrderUserId;
		this.grabOrderUserId = grabOrderUserId;
		this.orderValidateTime = orderValidateTime;
		this.vehicleType = vehicleType;
		this.vehicleModel = vehicleModel;
		this.vehicleColor = vehicleColor;
		this.vehicleImage = vehicleImage;
		this.licensePlate = licensePlate;
		this.currentSerTime = currentSerTime;
		this.sex = sex;
		this.distance = distance;
		this.isLongDistance = isLongDistance;
		this.ucId = ucId;
		this.couponMoney = couponMoney;
		this.orderCost = orderCost;
		this.platformCost = platformCost;
		this.userLevel = userLevel;
		this.setOutCondition = setOutCondition;
		this.isCarShare = isCarShare;
		this.parentOrder = parentOrder;
		this.subOrder = subOrder;
		this.title = title;
		this.otherUserId = otherUserId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getUserAvatar() {
		return userAvatar;
	}

	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar;
	}

	public String getUserTabloidAvatar() {
		return userTabloidAvatar;
	}

	public void setUserTabloidAvatar(String userTabloidAvatar) {
		this.userTabloidAvatar = userTabloidAvatar;
	}

	public String getSetOutTime() {
		return setOutTime;
	}

	public void setSetOutTime(String setOutTime) {
		this.setOutTime = setOutTime;
	}

	public Date getOutTime() {
		return outTime;
	}

	public void setOutTime(Date outTime) {
		this.outTime = outTime;
	}

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public Double getRedBag() {
		return redBag;
	}

	public void setRedBag(Double redBag) {
		this.redBag = redBag;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getStartAddress() {
		return startAddress;
	}

	public void setStartAddress(String startAddress) {
		this.startAddress = startAddress;
	}

	public Double getStartLongitude() {
		return startLongitude;
	}

	public void setStartLongitude(Double startLongitude) {
		this.startLongitude = startLongitude;
	}

	public Double getStartLatitude() {
		return startLatitude;
	}

	public void setStartLatitude(Double startLatitude) {
		this.startLatitude = startLatitude;
	}

	public String getEndAddress() {
		return endAddress;
	}

	public void setEndAddress(String endAddress) {
		this.endAddress = endAddress;
	}

	public Double getEndLongitude() {
		return endLongitude;
	}

	public void setEndLongitude(Double endLongitude) {
		this.endLongitude = endLongitude;
	}

	public Double getEndLatitude() {
		return endLatitude;
	}

	public void setEndLatitude(Double endLatitude) {
		this.endLatitude = endLatitude;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public String getTelePhone() {
		return telePhone;
	}

	public void setTelePhone(String telePhone) {
		this.telePhone = telePhone;
	}

	public String getTelNo() {
		return telNo;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public String getPlaceOrderUserId() {
		return placeOrderUserId;
	}

	public void setPlaceOrderUserId(String placeOrderUserId) {
		this.placeOrderUserId = placeOrderUserId;
	}

	public String getGrabOrderUserId() {
		return grabOrderUserId;
	}

	public void setGrabOrderUserId(String grabOrderUserId) {
		this.grabOrderUserId = grabOrderUserId;
	}

	public Date getOrderValidateTime() {
		return orderValidateTime;
	}

	public void setOrderValidateTime(Date orderValidateTime) {
		this.orderValidateTime = orderValidateTime;
	}

	public String getVehicleType() {
		return vehicleType;
	}

	public void setVehicleType(String vehicleType) {
		this.vehicleType = vehicleType;
	}

	public String getVehicleModel() {
		return vehicleModel;
	}

	public void setVehicleModel(String vehicleModel) {
		this.vehicleModel = vehicleModel;
	}

	public String getVehicleColor() {
		return vehicleColor;
	}

	public void setVehicleColor(String vehicleColor) {
		this.vehicleColor = vehicleColor;
	}

	public String getVehicleImage() {
		return vehicleImage;
	}

	public void setVehicleImage(String vehicleImage) {
		this.vehicleImage = vehicleImage;
	}

	public String getLicensePlate() {
		return licensePlate;
	}

	public void setLicensePlate(String licensePlate) {
		this.licensePlate = licensePlate;
	}

	public Date getCurrentSerTime() {
		return currentSerTime;
	}

	public void setCurrentSerTime(Date currentSerTime) {
		this.currentSerTime = currentSerTime;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public BigDecimal getDistance() {
		return distance;
	}

	public void setDistance(BigDecimal distance) {
		this.distance = distance;
	}

	public Integer getIsLongDistance() {
		return isLongDistance;
	}

	public void setIsLongDistance(Integer isLongDistance) {
		this.isLongDistance = isLongDistance;
	}

	public String getUcId() {
		return ucId;
	}

	public void setUcId(String ucId) {
		this.ucId = ucId;
	}

	public BigDecimal getCouponMoney() {
		return couponMoney;
	}

	public void setCouponMoney(BigDecimal couponMoney) {
		this.couponMoney = couponMoney;
	}

	public BigDecimal getOrderCost() {
		return orderCost;
	}

	public void setOrderCost(BigDecimal orderCost) {
		this.orderCost = orderCost;
	}

	public BigDecimal getPlatformCost() {
		return platformCost;
	}

	public void setPlatformCost(BigDecimal platformCost) {
		this.platformCost = platformCost;
	}

	public BigDecimal getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(BigDecimal userLevel) {
		this.userLevel = userLevel;
	}

	public Integer getSetOutCondition() {
		return setOutCondition;
	}

	public void setSetOutCondition(Integer setOutCondition) {
		this.setOutCondition = setOutCondition;
	}

	public Integer getIsCarShare() {
		return isCarShare;
	}

	public void setIsCarShare(Integer isCarShare) {
		this.isCarShare = isCarShare;
	}

	public String getParentOrder() {
		return parentOrder;
	}

	public void setParentOrder(String parentOrder) {
		this.parentOrder = parentOrder;
	}

	public String getSubOrder() {
		return subOrder;
	}

	public void setSubOrder(String subOrder) {
		this.subOrder = subOrder;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getOtherUserId() {
		return otherUserId;
	}

	public void setOtherUserId(String otherUserId) {
		this.otherUserId = otherUserId;
	}
}